package com.gzyj.pojo.gps;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName(value = "yj_gps_addr")
public class YjGpsAddr implements Serializable {


    /**
     * 纬度.
     */
    @ApiModelProperty("纬度")
    @TableField(value = "lat")
    private Double lat;

    /**
     * 经度.
     */
    @ApiModelProperty("经度")
    @TableField(value = "lng")
    private Double lng;

    /**
     * 省.
     */
    @ApiModelProperty("省")
    @TableField(value = "province")
    private String province;

    /**
     * 市.
     */
    @ApiModelProperty("市")
    @TableField(value = "city")
    private String city;

    /**
     * 城市编码.
     */
    @ApiModelProperty("城市编码")
    @TableField(value = "citycode")
    private String citycode;

    /**
     * 区县.
     */
    @ApiModelProperty("区县")
    @TableField(value = "district")
    private String district;

    /**
     * 行政区编码.
     */
    @ApiModelProperty("行政区编码")
    @TableField(value = "adcode")
    private String adcode;

    /**
     * 坐标点所在乡镇/街道.
     */
    @ApiModelProperty("坐标点所在乡镇/街道")
    @TableField(value = "township")
    private String township;

    /**
     * 乡镇街道编码.
     */
    @ApiModelProperty("乡镇街道编码")
    @TableField(value = "towncode")
    private String towncode;

    /**
     * 具体地址.
     */
    @ApiModelProperty("具体地址")
    @TableField(value = "formatted_address")
    private String formattedAddress;

}